<?php


namespace app\teacher\validate;


use think\Validate;

class CreateTeacherValidate extends Validate
{
    protected $rule = [
        'wxapp_openid' => 'require',
        'phone' => 'require|regex:^1[3,4,5,7,8,9][0-9]{9}$',
        'nickname' => 'require',
        'headeravatar' => 'require',
        'images' => 'require|array'
    ];

}